import Main from '@/views/layout/Main'

const homeRouter = {
    path: '/home',
    component: Main,
    redirect: '/home/index',
    name: 'home',
    hidden: true,
    mete: {
        title: '主页'
    },
    children: [
        {
            path: 'index',
            component: () => import('@/views/home/Home')
        },
        {
            path: 'control',
            component: () => import('@/views/home/Control')
        },
    ]
};

export default homeRouter